﻿using UnityEngine;
using System.Collections;

public class SoundScript : MonoBehaviour
{

		public AudioClip[] soundsBackground;
		
		// Use this for initialization
		void Start ()
		{
				int index = Random.Range (0, soundsBackground.Length);
				
				audio.clip = soundsBackground [index];
				audio.Play ();

		}
	
		// Update is called once per frame
		void Update ()
		{
	
		}
}
